package com.hyt.it.ogt.kq.service.gov.schedule.strategy;

import com.hyt.it.ogt.kq.service.gov.schedule.model.ScheduleStrategyEnum;

public class ScheduleStrategyFactory {
    public static ScheduleStrategy getScheduleStrategy(ScheduleStrategyEnum strategyEnum) {
        if (strategyEnum.equals(ScheduleStrategyEnum.DEFAULT)) {
            return ScheduleOrderStrategy.getInstance();
        } else {
            return ScheduleBalanceStrategy.getInstance();
        }
    }
}
